﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Mechanics.ClientDisplayMechanics {
    import Mechanics.GameMechanicInterfaces.*;
    import Mechanics.*;
    import Classes.effects.*;

    public class StagePickEffectRenderer extends EffectRenderer {

        protected var m_stagePickType:String;

        public function get effectOverride():EffectType{
            return (EffectType.STAGE_PICK);
        }
        override public function initialize(_arg1:IMechanicUser, _arg2:MechanicConfigData):void{
            super.initialize(_arg1, _arg2);
            this.m_stagePickType = _arg2.params["stagePickType"];
        }
        override public function initEffect():void{
            super.initEffect();
            (m_effect as StagePickEffect).setPickType(this.m_stagePickType);
            (m_effect as StagePickEffect).queuedFloat();
        }
        override public function killEffect():void{
            (m_effect as StagePickEffect).stopFloat();
            super.killEffect();
        }

    }
}//package Mechanics.ClientDisplayMechanics 
